package com.springboot.mapper.provider;

import java.util.Map;

import org.apache.ibatis.jdbc.SQL;

public class TestProvider {
	private static final String FIELDS = "id,username,passwd";

	public String getTestBeanById(Map<String, String> params) {
		SQL sql = new SQL();
		sql.SELECT(FIELDS).FROM(params.get("tableName")).WHERE("id=#{id}");
		return sql.toString();
	}

}
